﻿using KwaiXiaoDian.Entity.DO;
using KwaiXiaoDian.Entity.VO.Product;
using SSharing.Frameworks.NetCore.Common.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KwaiXiaoDian.IDao
{
    /// <summary>
    /// 商品dao
    /// </summary>
    public interface IProductDao : IBaseDao<TProduct>
    {
        /// <summary>
        /// 获取商品列表
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        IPagingResult<TProduct> GetPagingProducts(GetPagingProductsRequest request);

        /// <summary>
        /// 获取待同步商品详情的商品列表
        /// </summary>
        /// <returns></returns>
        IList<TProduct> GetProductDetails();

        /// <summary>
        /// 获取待同步商品达人排行榜的商品列表
        /// </summary>
        /// <returns></returns>
        IList<TProduct> GetProductRanks();

    }
}
